package com.lili.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lili.po.XasUserInfo;

import java.util.Date;
import java.util.List;
import java.util.Map;

public interface XasUserInfoMapper extends BaseMapper<XasUserInfo> {

    List<XasUserInfo> xasUserRelationshipUP(Integer uid);

    List<XasUserInfo> xasUserRelationshipUPTwo(Integer uid);

    List<XasUserInfo> xasUserRelationshipDown(Integer uid);

    List<XasUserInfo> xasUserRelationshipDownTwo(Integer uid);

    List<Map<String, Double>> countOrder(Date startTime, Date endTime);

    List<Map<String, Double>> countTotalOrder();
}
